/*
 * @LastEditors: yuSeen
 * @LastEditTime: 2021-11-26 09:32:11
 * 页面列表模型
 */
import { Table, Column, Model, HasOne } from 'sequelize-typescript'
import PageContent from './page-content';

@Table
export default class page_list extends Model {
    @Column
    name: string;
    @Column({field:"is_using"})
    isUsing: number;
    @HasOne(() => PageContent, "page_id")
    content:  PageContent;
}